package com.bw.service;

import com.bw.bean.Medicine;
import com.bw.mapper.MedicineMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 *
 * @Author: zhangsuqing
 * @Create: 2025/7/29 19:41
 * @Version: 1.0
 */
@Service
public class MedicineServiceImpl implements MedicineService {

    @Autowired
    MedicineMapper medicineMapper;

    @Override
    public List<Medicine> getList() {
        return medicineMapper.getList();
    }

    @Override
    public List<Medicine> getMed(String name, Integer tid) {
        return medicineMapper.getMed(name,tid);
    }
}
